package edu.cth.scrabbit.client.core.network;

import edu.cth.scrabbit.shared.network.Statement;

/**
 * Handles the client-side of the network, and all that this entails. Contains
 * logic for opening a connection, sending Statements as well as pinging the
 * server for new information.
 * 
 * @author Marcus Harryson, Anders Jonsson
 * 
 */

public interface IClientNetworkHandler {

	/**
	 * A method used to send information such as actions
	 * 
	 * @param st
	 */

	public abstract void sendStatement(Statement st);

	/**
	 * A method used to start the pinger, which pings the server for updates.
	 */
	public abstract void startPinging();

}